package com.zlt.bkparking.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VipOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VipOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andVoIdIsNull() {
            addCriterion("vo_id is null");
            return (Criteria) this;
        }

        public Criteria andVoIdIsNotNull() {
            addCriterion("vo_id is not null");
            return (Criteria) this;
        }

        public Criteria andVoIdEqualTo(Long value) {
            addCriterion("vo_id =", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdNotEqualTo(Long value) {
            addCriterion("vo_id <>", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdGreaterThan(Long value) {
            addCriterion("vo_id >", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdGreaterThanOrEqualTo(Long value) {
            addCriterion("vo_id >=", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdLessThan(Long value) {
            addCriterion("vo_id <", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdLessThanOrEqualTo(Long value) {
            addCriterion("vo_id <=", value, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdIn(List<Long> values) {
            addCriterion("vo_id in", values, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdNotIn(List<Long> values) {
            addCriterion("vo_id not in", values, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdBetween(Long value1, Long value2) {
            addCriterion("vo_id between", value1, value2, "voId");
            return (Criteria) this;
        }

        public Criteria andVoIdNotBetween(Long value1, Long value2) {
            addCriterion("vo_id not between", value1, value2, "voId");
            return (Criteria) this;
        }

        public Criteria andVoNoIsNull() {
            addCriterion("vo_no is null");
            return (Criteria) this;
        }

        public Criteria andVoNoIsNotNull() {
            addCriterion("vo_no is not null");
            return (Criteria) this;
        }

        public Criteria andVoNoEqualTo(String value) {
            addCriterion("vo_no =", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoNotEqualTo(String value) {
            addCriterion("vo_no <>", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoGreaterThan(String value) {
            addCriterion("vo_no >", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoGreaterThanOrEqualTo(String value) {
            addCriterion("vo_no >=", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoLessThan(String value) {
            addCriterion("vo_no <", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoLessThanOrEqualTo(String value) {
            addCriterion("vo_no <=", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoLike(String value) {
            addCriterion("vo_no like", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoNotLike(String value) {
            addCriterion("vo_no not like", value, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoIn(List<String> values) {
            addCriterion("vo_no in", values, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoNotIn(List<String> values) {
            addCriterion("vo_no not in", values, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoBetween(String value1, String value2) {
            addCriterion("vo_no between", value1, value2, "voNo");
            return (Criteria) this;
        }

        public Criteria andVoNoNotBetween(String value1, String value2) {
            addCriterion("vo_no not between", value1, value2, "voNo");
            return (Criteria) this;
        }

        public Criteria andAuIdIsNull() {
            addCriterion("au_id is null");
            return (Criteria) this;
        }

        public Criteria andAuIdIsNotNull() {
            addCriterion("au_id is not null");
            return (Criteria) this;
        }

        public Criteria andAuIdEqualTo(String value) {
            addCriterion("au_id =", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotEqualTo(String value) {
            addCriterion("au_id <>", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdGreaterThan(String value) {
            addCriterion("au_id >", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdGreaterThanOrEqualTo(String value) {
            addCriterion("au_id >=", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLessThan(String value) {
            addCriterion("au_id <", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLessThanOrEqualTo(String value) {
            addCriterion("au_id <=", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLike(String value) {
            addCriterion("au_id like", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotLike(String value) {
            addCriterion("au_id not like", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdIn(List<String> values) {
            addCriterion("au_id in", values, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotIn(List<String> values) {
            addCriterion("au_id not in", values, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdBetween(String value1, String value2) {
            addCriterion("au_id between", value1, value2, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotBetween(String value1, String value2) {
            addCriterion("au_id not between", value1, value2, "auId");
            return (Criteria) this;
        }

        public Criteria andVtIdIsNull() {
            addCriterion("vt_id is null");
            return (Criteria) this;
        }

        public Criteria andVtIdIsNotNull() {
            addCriterion("vt_id is not null");
            return (Criteria) this;
        }

        public Criteria andVtIdEqualTo(Integer value) {
            addCriterion("vt_id =", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdNotEqualTo(Integer value) {
            addCriterion("vt_id <>", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdGreaterThan(Integer value) {
            addCriterion("vt_id >", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("vt_id >=", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdLessThan(Integer value) {
            addCriterion("vt_id <", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdLessThanOrEqualTo(Integer value) {
            addCriterion("vt_id <=", value, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdIn(List<Integer> values) {
            addCriterion("vt_id in", values, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdNotIn(List<Integer> values) {
            addCriterion("vt_id not in", values, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdBetween(Integer value1, Integer value2) {
            addCriterion("vt_id between", value1, value2, "vtId");
            return (Criteria) this;
        }

        public Criteria andVtIdNotBetween(Integer value1, Integer value2) {
            addCriterion("vt_id not between", value1, value2, "vtId");
            return (Criteria) this;
        }

        public Criteria andVoStartIsNull() {
            addCriterion("vo_start is null");
            return (Criteria) this;
        }

        public Criteria andVoStartIsNotNull() {
            addCriterion("vo_start is not null");
            return (Criteria) this;
        }

        public Criteria andVoStartEqualTo(Date value) {
            addCriterion("vo_start =", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartNotEqualTo(Date value) {
            addCriterion("vo_start <>", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartGreaterThan(Date value) {
            addCriterion("vo_start >", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartGreaterThanOrEqualTo(Date value) {
            addCriterion("vo_start >=", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartLessThan(Date value) {
            addCriterion("vo_start <", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartLessThanOrEqualTo(Date value) {
            addCriterion("vo_start <=", value, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartIn(List<Date> values) {
            addCriterion("vo_start in", values, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartNotIn(List<Date> values) {
            addCriterion("vo_start not in", values, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartBetween(Date value1, Date value2) {
            addCriterion("vo_start between", value1, value2, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoStartNotBetween(Date value1, Date value2) {
            addCriterion("vo_start not between", value1, value2, "voStart");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeIsNull() {
            addCriterion("vo_paytime is null");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeIsNotNull() {
            addCriterion("vo_paytime is not null");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeEqualTo(Date value) {
            addCriterion("vo_paytime =", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeNotEqualTo(Date value) {
            addCriterion("vo_paytime <>", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeGreaterThan(Date value) {
            addCriterion("vo_paytime >", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("vo_paytime >=", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeLessThan(Date value) {
            addCriterion("vo_paytime <", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeLessThanOrEqualTo(Date value) {
            addCriterion("vo_paytime <=", value, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeIn(List<Date> values) {
            addCriterion("vo_paytime in", values, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeNotIn(List<Date> values) {
            addCriterion("vo_paytime not in", values, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeBetween(Date value1, Date value2) {
            addCriterion("vo_paytime between", value1, value2, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoPaytimeNotBetween(Date value1, Date value2) {
            addCriterion("vo_paytime not between", value1, value2, "voPaytime");
            return (Criteria) this;
        }

        public Criteria andVoStateIsNull() {
            addCriterion("vo_state is null");
            return (Criteria) this;
        }

        public Criteria andVoStateIsNotNull() {
            addCriterion("vo_state is not null");
            return (Criteria) this;
        }

        public Criteria andVoStateEqualTo(Byte value) {
            addCriterion("vo_state =", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateNotEqualTo(Byte value) {
            addCriterion("vo_state <>", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateGreaterThan(Byte value) {
            addCriterion("vo_state >", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("vo_state >=", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateLessThan(Byte value) {
            addCriterion("vo_state <", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateLessThanOrEqualTo(Byte value) {
            addCriterion("vo_state <=", value, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateIn(List<Byte> values) {
            addCriterion("vo_state in", values, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateNotIn(List<Byte> values) {
            addCriterion("vo_state not in", values, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateBetween(Byte value1, Byte value2) {
            addCriterion("vo_state between", value1, value2, "voState");
            return (Criteria) this;
        }

        public Criteria andVoStateNotBetween(Byte value1, Byte value2) {
            addCriterion("vo_state not between", value1, value2, "voState");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}